package com.sugon.modules.device.model.vo;

import com.sugon.entity.DevAmTicketEntity;
import com.sugon.entity.DevMaintenancePlanChangeEntity;
import com.sugon.entity.DevMaintenanceTicketEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 设备维护延期审批参数
 *
 * @author YuXD
 * @since 2023-01-13
 */
@Data
public class DelayCheckParam implements Serializable {

    @NotBlank(message = "设备维护工单必选")
    private String ticketId;

    /**
     * 取值自ProcessProgressConst
     */
    @NotNull(message = "审核状态不能为空！")
    private Integer approvalStatus;

    /******************设备维护工单*************************/

    /**
     * 设备维护工单
     */
    private DevMaintenanceTicketEntity ticket;

    /**
     * 设备维护工单
     */
    private DevAmTicketEntity amTicket;

    /**
     * 申请记录
     */
    private DevMaintenancePlanChangeEntity applyRecord;

}
